package com.sino.androiddesign.customView

import android.content.Context
import android.os.Bundle
import android.support.v4.app.Fragment
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup

import com.sino.androiddesign.R


class CanvasFragment : Fragment() {

    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
                              savedInstanceState: Bundle?): View? {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_canvas, container, false)
    }

}

class CanvasView :View{

    constructor(context: Context):this(context,null)
    constructor(context: Context, attributeSet: AttributeSet?):super(context,attributeSet)

    init {

    }
}
